﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LANmine
{
    abstract class Login
    {
        /**
         * This method queries the database against a given username and password,
         * fills up the given User object accordingly and returns true/false.
         * @return boolean
         */
        public Boolean AuthenticateUser(User curUsr, String u, String p)
        {
            // Use Read-Only Database Connection to authenticate user
            
            // Return true if login successful
            return true;

            // Return false if access denied
        }

    }
}
